package com.lx.demo;

import java.util.List;

/**
 * @author c先生
 * @date 2022年03月29日 下午 8:27:53
 * @describe
 */

public class Dept {
    //部门编号
    private Integer deptNum;
    //部门的名称
    private String deptName;
    //部门的描述
    private String deptDescribe;
    //办公场地
    private Office office; //引用数据类型的属性
    //包含的员工
    private List<Emp> emps ;

    public Integer getDeptNum() {
        return deptNum;
    }

    public void setDeptNum(Integer deptNum) {
        this.deptNum = deptNum;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptDescribe() {
        return deptDescribe;
    }

    public void setDeptDescribe(String deptDescribe) {
        this.deptDescribe = deptDescribe;
    }

    public Office getOffice() {
        return office;
    }

    public void setOffice(Office office) {
        this.office = office;
    }

    public List<Emp> getEmps() {
        return emps;
    }

    public void setEmps(List<Emp> emps) {
        this.emps = emps;
    }

    public Dept() {
    }

    public Dept(Integer deptNum, String deptName, String deptDescribe, Office office, List<Emp> emps) {
        this.deptNum = deptNum;
        this.deptName = deptName;
        this.deptDescribe = deptDescribe;
        this.office = office;
        this.emps = emps;
    }
}
